* process.c (allocate_pty): Let PTY_ITERATION declare iteration vars.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Mar 2011 05:15:08 +0000 (22:15 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Mar 2011 05:15:08 +0000 (22:15 -0700)
commitab76590df42c86f4e60c60ae6f7e5350b2028933
tree5ee4366ee4fb8be88bc87e7d5819ed2c0607b945
parentbeafcd75993fd6290a704bce7632bbca0c65f346
* process.c (allocate_pty): Let PTY_ITERATION declare iteration vars.

That way, the code declares only the vars that it needs.
* s/aix4-2.h (PTY_ITERATION): Declare iteration vars.
* s/cygwin.h (PTY_ITERATION): Likewise.
* s/darwin.h (PTY_ITERATION): Likewise.
* s/gnu-linux.h (PTY_ITERATION): Likewise.
src/ChangeLog
src/process.c
src/s/aix4-2.h
src/s/cygwin.h
src/s/darwin.h
src/s/gnu-linux.h